<link rel="stylesheet" href="../../../../lib/layui/css/layui.css">
<link rel="stylesheet" href="../../../../css/theme/default.css" id="theme">
<link rel="stylesheet" href="../../../../css/nprogress.css">
<link href="../../../../css/bktheme/css/layout.css" rel="stylesheet" type="text/css">
<script src="../../../../lib/layui/layui.js"></script>


<div class="bk_table_body">
	<table class="table_style_form">
		<tr>
			<td class="right">姓名：</td>
			<td>
				<input type="text" class="layui-input">
			</td>
			<td class="right">性别：</td>
			<td>
				<input type="text" class="layui-input">
			</td>
			<td class="right">身份证：</td>
			<td>
				<input type="text" class="layui-input">
			</td>

		</tr>
		<tr>
			<td class="right">民族：</td>
			<td>
				<input type="text" class="layui-input">
			</td>
			<td class="right">籍贯：</td>
			<td>
				<input type="text" class="layui-input">
			</td>
			<td class="right">出生年月：</td>
			<td>
				<input type="text" class="layui-input">
			</td>

		</tr>
		<tr>
			<td class="right">工作时间 ：</td>
			<td>
				<input type="text" name="number" lay-verify="required|number" autocomplete="off" class="layui-input workTime">
			</td>
			<td class="right">入党时间：</td>
			<td>
				<input type="text" class="layui-input rdTime">
			</td>
			<td class="right">上会事项：</td>
			<td>
				<select name="city" lay-verify="required">
					<option value="">任职</option>
					<option value="1">免职</option>
					<option value="2">退休</option>
					<option value="3">提名</option>
				</select>
			</td>

		</tr>
		<tr>
			<td class="right">拟免职务：</td>
			<td colspan="5">
				<input type="text" name="number" lay-verify="required|number" autocomplete="off" class="layui-input">
			</td>

		</tr>
		<tr>
			<td class="right">拟任职务：</td>
			<td colspan="5">
				<input type="text" name="number" lay-verify="required|number" autocomplete="off" class="layui-input">
			</td>
		</tr>
		<tr>
			<td class="right">拟免职务：</td>
			<td colspan="5">

			</td>
		</tr>
	</table>
</div>
<!--  <script src="../../../../lib/polyfill.min.js"></script> -->

<script>
	console.log(layui)
	layui.use(['jquery', 'table', 'form', 'laydate'], function() {
		var $ = layui.jquery,
			layer = layui.layer,
			table = layui.table,
			sidebar = layui.sidebar,
			form = layui.form;
		form.render();
		console.log(form)
		laydate = layui.laydate;
		leyuiUseDate([".workTime",".rdTime"])
	});

	// 渲染时间组件
	function leyuiUseDate(data) {
		data.forEach(function(item) {
			laydate.render({
				elem: item, //指定元素
				position: 'absolute',
				zIndex:"99999",
				showBottom: false
			});
		})
	}
</script>
